using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

public partial class Galleries_admin_QTHT_Control : System.Web.UI.UserControl
{
    protected void Page_Load(object sender, EventArgs e)
    {
        string qt = "";
        if (Session["c"] != null)
        {
            qt = Session["c"].ToString().Trim();
        }
        switch (qt)
        {
            case "gtqt":
                Controls.Add(LoadControl("~/cms/Admin/admin/m_Default.ascx"));
                break;
            case "cha_pastop":
                Controls.Add(LoadControl("~/cms/Admin/admin/a_Changepas.ascx"));
                break;
            case "user":
                Controls.Add(LoadControl("~/cms/Admin/Users/tbUser.ascx"));
                break;
            case "ttcn":
                Controls.Add(LoadControl("~/cms/Admin/Users/u_Thongtincanhan.ascx"));
                break;
            case "pb":
                Controls.Add(LoadControl("~/cms/Admin/Danhmuc/u_Quanlyphongban.ascx"));
                break;
            case "bophan":
                Controls.Add(LoadControl("~/cms/Admin/Danhmuc/Bophan.ascx"));
                break;
            case "cv":
                Controls.Add(LoadControl("~/cms/Admin/Danhmuc/u_Quanlychucvu.ascx"));
                break;
            case "tieuchi":
                Controls.Add(LoadControl("~/cms/Admin/Danhmuc/u_Quanlytieuchi.ascx"));
                break;
            case "diemtieuchi":
                Controls.Add(LoadControl("~/cms/Admin/Danhmuc/u_Quanlydiem.ascx"));
                break;
            case "senddn":
                Controls.Add(LoadControl("~/cms/Admin/Denghi/u_Denghi.ascx"));
                break;
            case "xemdenghi":
                Controls.Add(LoadControl("~/cms/Admin/Denghi/u_Denghi.ascx"));
                break;
            case "dagui":
                Controls.Add(LoadControl("~/cms/Admin/Denghi/u_Denghiguidi.ascx"));
                break;
            case "denghinhan":
                Controls.Add(LoadControl("~/cms/Admin/Denghi/u_Denghiden.ascx"));
                break;
            case "config":
                Controls.Add(LoadControl("~/cms/Admin/Config/u_Cauhinh.ascx"));
                break;
            case "danhgiacanhan":
                Controls.Add(LoadControl("~/cms/Admin/Danhgia/u_Tudanhgia.ascx"));
                break;
            case "danhgianhanvien":
                Controls.Add(LoadControl("~/cms/Admin/Danhgia/u_Danhgianhanvien.ascx"));
                break;
            case "xemdanhgiacanhan":
                Controls.Add(LoadControl("~/cms/Admin/Danhgia/u_Xemdanhgiacanhan.ascx"));
                break;
            case "xemdanhgianhanvien":
                Controls.Add(LoadControl("~/cms/Admin/Danhgia/u_Xemdanhgianhanvien.ascx"));
                break;
            case "danhgiatruongchuyen":
                Controls.Add(LoadControl("~/cms/Admin/Danhgia/u_Danhgiacongnhan.ascx"));
                break;
            case "danhgiaquandoc":
                Controls.Add(LoadControl("~/cms/Admin/Danhgia/u_Danhgiacongnhan_QuanDoc.ascx"));
                break;
            case "xemdanhgiacongnhan":
                Controls.Add(LoadControl("~/cms/Admin/Danhgia/u_Xemdanhgiacongnhan.ascx"));
                break;
            case "viewtimesheet":
                Controls.Add(LoadControl("~/cms/Admin/Timesheet/viewtimesheet.ascx"));
                break;
            case "createtimesheet":
                Controls.Add(LoadControl("~/cms/Admin/Timesheet/createtimesheet.ascx"));
                break;
            default:
                Controls.Add(LoadControl("~/cms/Admin/admin/m_Default.ascx"));
                break;
        }
    }
}
